<?php

namespace ApiBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * UserFile
 *
 * @ORM\Table(name="user_file", options={"comment":"user_file表"})
 * @ORM\Entity
 */
class UserFile
{
    /**
     * @var int
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var string
     *
     * @ORM\Column(name="user_id", type="integer", options={"default":"0", "comment":"用户id"})
     */
    private $userId;

    /**
     * @var string
     *
     * @ORM\Column(name="file_id", type="integer", options={"default":"0", "comment":"文件id"})
     */
    private $fileId;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="created_at", type="datetime", options={"comment":"创建时间"})
     */
    private $createdAt;
}

